package com.woniuxy.dao;

import com.woniuxy.entity.Rbacmanager;

import java.util.List;

public interface ShiroDao {
    //查询所有
    List<Rbacmanager> findAll(Rbacmanager rbacmanager);

    //根据id删除
    int deleteById(int id);

    int addRbac(Rbacmanager rbace);

    int update(Rbacmanager rbace);


    Rbacmanager findPassword(String username);

    Rbacmanager login(Rbacmanager rbacmanager);


}
